Skip to main content
function
required
The callback function to remove.
Due to the nature of RakNet, in order for this function to do anything, you need to enable it in the UI settings. Bans may occur from using this.

Example

This example prints the data of every packet sent and then removes the send hook to prevent it from printing future packets.